package com.atos.howl.chaos.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication()
//添加mybatis的mapper扫描，该注解扫描mapper包里的接口，封装接口成一个类实例对象
@MapperScan(value = "com.atos.howl.chaos.*.mapper")
@ComponentScan("com.atos.howl.chaos.*")
public class ChaosWebApplication {

	public static void main(String[] args) {
		SpringApplication.run(ChaosWebApplication.class, args);
	}

}
